class A():
    def use_print(self):
        print("A的打印")


class B():
    def use_print(self):
        print("B的打印")


class C():
    def use_print(self):
        print("C的打印")


class Person():
    def per_print(self, alp):
        alp.use_print()


a = A()
b = B()
c = C()
xiaoming = Person()
# 多态：同一条指令，不同的对象，产生的行为是不一样的
xiaoming.per_print(a)
xiaoming.per_print(b)
xiaoming.per_print(c)
